from flask import Flask, render_template
import datetime

server = Flask(__name__)


@server.route('/', methods=['post', 'get'])
def show():
    now = str(datetime.datetime.now())  # 把当前时间转换成字符串
    return "当前的时间是：%s" % now


server.run(debug=True, port=8888)

# echarts
# demo https://echarts.apache.org/examples/zh/editor.html?c=pie-custom
